package cn.b.sky.mes.em.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.annotation.DateTimeFormat.ISO;

import cn.b.sky.common.model.ImeCommon;

/**
 * 
 * <strong>Title : MaintainConfig.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.model<br></strong>
 * <strong>Description : </strong>保养配置<br> 
 * <strong>Create on : 2015-11-5 下午01:16:22<br></strong>
 * <p>
 * @author zhaoxin01<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class MaintainConfig extends ImeCommon implements Serializable {
  /** 
  * @Fields serialVersionUID 
  * @creator     :zhaoxin01
  */
  private static final long serialVersionUID = 1L;

  private String equipmentCode;//设备编号

  private String strategyCode;//策略编号

  private String equipmentText;//设备描述

  private String strategyText;//策略描述

  private long currCountValue;//当前计数

  private long totalCountValue;//累积计数值

  @DateTimeFormat(iso = ISO.DATE_TIME, pattern = "yyyy-MM-dd")
  private Date prevMaintainDate;//上次维护日期

  @DateTimeFormat(iso = ISO.DATE_TIME, pattern = "yyyy-MM-dd")
  private Date nextMaintainDate;//下次维护日期

  private String memo;//备注

  private String strategyTypeECode;//策略类型

  private String timeUnitECode;//时间单位

  private Long strategyTimeValue;//周期值

  private Long strategyCountValue;//策略计数值

  private Integer maintainDayOfMonth;//日期

  public int getMaintainDayOfMonth() {
    return maintainDayOfMonth;
  }

  public void setMaintainDayOfMonth(int maintainDayOfMonth) {
    this.maintainDayOfMonth = maintainDayOfMonth;
  }

  public String getStrategyTypeECode() {
    return strategyTypeECode;
  }

  public void setStrategyTypeECode(String strategyTypeECode) {
    this.strategyTypeECode = strategyTypeECode;
  }

  public String getTimeUnitECode() {
    return timeUnitECode;
  }

  public void setTimeUnitECode(String timeUnitECode) {
    this.timeUnitECode = timeUnitECode;
  }

  public Long getStrategyTimeValue() {
    return strategyTimeValue;
  }

  public void setStrategyTimeValue(Long strategyTimeValue) {
    this.strategyTimeValue = strategyTimeValue;
  }

  public Long getStrategyCountValue() {
    return strategyCountValue;
  }

  public void setStrategyCountValue(Long strategyCountValue) {
    this.strategyCountValue = strategyCountValue;
  }

  public String getEquipmentText() {
    return equipmentText;
  }

  public void setEquipmentText(String equipmentText) {
    this.equipmentText = equipmentText;
  }

  public String getStrategyText() {
    return strategyText;
  }

  public void setStrategyText(String strategyText) {
    this.strategyText = strategyText;
  }

  public String getEquipmentCode() {
    return equipmentCode;
  }

  public void setEquipmentCode(String equipmentCode) {
    this.equipmentCode = equipmentCode;
  }

  public String getStrategyCode() {
    return strategyCode;
  }

  public void setStrategyCode(String strategyCode) {
    this.strategyCode = strategyCode;
  }

  public long getCurrCountValue() {
    return currCountValue;
  }

  public void setCurrCountValue(long currCountValue) {
    this.currCountValue = currCountValue;
  }

  public long getTotalCountValue() {
    return totalCountValue;
  }

  public void setTotalCountValue(long totalCountValue) {
    this.totalCountValue = totalCountValue;
  }

  public Date getPrevMaintainDate() {
    return prevMaintainDate;
  }

  public void setPrevMaintainDate(Date prevMaintainDate) {
    this.prevMaintainDate = prevMaintainDate;
  }

  public Date getNextMaintainDate() {
    return nextMaintainDate;
  }

  public void setNextMaintainDate(Date nextMaintainDate) {
    this.nextMaintainDate = nextMaintainDate;
  }

  public String getMemo() {
    return memo;
  }

  public void setMemo(String memo) {
    this.memo = memo;
  }

}
